<!DOCTYPE html>
<html>
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="generator" content="ApiGen; http://apigen.org" />

	<title>Class Nette\Forms\Rule</title>

	<link rel="stylesheet" href="resources/style.css?v=2011071314" type="text/css" media="all" />
	<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
	<link rel="search" href="opensearch.xml" type="application/opensearchdescription+xml" title="Nette Framework API documentation" />
	<script type="text/javascript" src="resources/combined.js"></script>
	<script type="text/javascript" src="allclasses.js"></script>
</head>

<body>
<div id="left">
	<a href="allclasses.html">All Classes</a>

	<h3>Namespaces</h3>
	<ul>
		<li><a href="namespace-none.html">none</a>
		</li>
		<li><a href="namespace-Nette.html">Nette</a>
		</li>
		<li><a href="namespace-Nette.Application.html">Nette\Application</a>
		</li>
		<li><a href="namespace-Nette.Caching.html">Nette\Caching</a>
		</li>
		<li><a href="namespace-Nette.Collections.html">Nette\Collections</a>
		</li>
		<li><a href="namespace-Nette.Config.html">Nette\Config</a>
		</li>
		<li class="active"><a href="namespace-Nette.Forms.html">Nette\Forms</a>
		</li>
		<li><a href="namespace-Nette.IO.html">Nette\IO</a>
		</li>
		<li><a href="namespace-Nette.Loaders.html">Nette\Loaders</a>
		</li>
		<li><a href="namespace-Nette.Mail.html">Nette\Mail</a>
		</li>
		<li><a href="namespace-Nette.Reflection.html">Nette\Reflection</a>
		</li>
		<li><a href="namespace-Nette.Security.html">Nette\Security</a>
		</li>
		<li><a href="namespace-Nette.Templates.html">Nette\Templates</a>
		</li>
		<li><a href="namespace-Nette.Web.html">Nette\Web</a>
		</li>
		<li><a href="namespace-PHP.html">PHP</a>
		</li>
	</ul>

	<hr />

	<h3>Classes</h3>

	<ul>
		<li><a href="Nette.Forms.Button.html">Button</a></li>
		<li><a href="Nette.Forms.Checkbox.html">Checkbox</a></li>
		<li><a href="Nette.Forms.ConventionalRenderer.html">ConventionalRenderer</a></li>
		<li><a href="Nette.Forms.FileUpload.html">FileUpload</a></li>
		<li><a href="Nette.Forms.Form.html">Form</a></li>
		<li><a href="Nette.Forms.FormContainer.html">FormContainer</a></li>
		<li><a href="Nette.Forms.FormControl.html">FormControl</a></li>
		<li><a href="Nette.Forms.FormGroup.html">FormGroup</a></li>
		<li><a href="Nette.Forms.HiddenField.html">HiddenField</a></li>
		<li><a href="Nette.Forms.ImageButton.html">ImageButton</a></li>
		<li><a href="Nette.Forms.InstantClientScript.html">InstantClientScript</a></li>
		<li><a href="Nette.Forms.MultiSelectBox.html">MultiSelectBox</a></li>
		<li><a href="Nette.Forms.RadioList.html">RadioList</a></li>
		<li class="active"><a href="Nette.Forms.Rule.html">Rule</a></li>
		<li><a href="Nette.Forms.Rules.html">Rules</a></li>
		<li><a href="Nette.Forms.SelectBox.html">SelectBox</a></li>
		<li><a href="Nette.Forms.SubmitButton.html">SubmitButton</a></li>
		<li><a href="Nette.Forms.TextArea.html">TextArea</a></li>
		<li><a href="Nette.Forms.TextBase.html">TextBase</a></li>
		<li><a href="Nette.Forms.TextInput.html">TextInput</a></li>
	</ul>

	<h3>Interfaces</h3>

	<ul>
		<li><a href="Nette.Forms.IFormControl.html">IFormControl</a></li>
		<li><a href="Nette.Forms.IFormRenderer.html">IFormRenderer</a></li>
		<li><a href="Nette.Forms.INamingContainer.html">INamingContainer</a></li>
		<li><a href="Nette.Forms.ISubmitterControl.html">ISubmitterControl</a></li>
	</ul>

</div>

<div id="right">
	<form action="http://www.google.com/cse" id="search" onsubmit="if(this.q.value.indexOf('more:')==-1)this.q.value+=' more:api'">
		<input type="hidden" name="cx" value="011549293477758430224:vxofa9ufnhc" /><input type="hidden" name="ie" value="UTF-8" /><input type="text" name="q" class="text" /><input type="submit" value="Search" />
	</form>

<div id="navigation">
	<ul>
		<li><a href="overview.html" title="Summary of all namespaces">Overview</a></li>
		<li><a href="namespace-Nette.Forms.html" title="Summary of Nette\Forms">Namespace</a></li>
		<li class="active">Class</li>
		<li><a href="elements.html">Elements</a></li>
	</ul>
</div>

<div id="content">
	<div id="classSummary">
		<p>namespace <a href="namespace-Nette.Forms.html">Nette\Forms</a></p>

		<h1>Class Rule</h1>

		<div class="classDescription">
		
<p>Single validation rule or condition represented as value object.</p>

		</div>

		<dl class="tree">
			<dd style="padding-left:0px">
				<a href="Nette.Object.html">Nette\Object</a>
				
			</dd>
			<dd style="padding-left:30px">
				<img src="resources/inherit.gif" alt="extended by" />
<b>Nette\Forms\Rule</b>				
			</dd>
		</dl>



		<div class="classInfo">
			<b>Final Class</b><br />
				<b>Author:</b> David Grudl<br />
			<b>Located at</b> <a href="source-Forms.Rule.php.html#18">/Forms/Rule.php</a><br />
		</div>
	</div>




	<h2>Methods Inherited From <a href="Nette.Object.html#methodSummary">Nette\Object</a></h2>
	<div class="box"><code>
		<a href="Nette.Object.html#_getClass" class="deprecated">getClass()</a>, <a href="Nette.Object.html#_getReflection">getReflection()</a>, <a href="Nette.Object.html#___call">__call()</a>, <a href="Nette.Object.html#___callStatic">__callStatic()</a>, <a href="Nette.Object.html#_extensionMethod">extensionMethod()</a>, <a href="Nette.Object.html#___get">__get()</a>, <a href="Nette.Object.html#___set">__set()</a>, <a href="Nette.Object.html#___isset">__isset()</a>, <a href="Nette.Object.html#___unset">__unset()</a>
	</code></div>


	<div id="constantSummary">
		<table class="summary">
		<caption>Constant Summary</caption>
		<tr data-order="CONDITION" id="CONDITION">
			<td align="right" width="1%"><code><b>CONDITION</b></code></td>
			<td><code><span class="php-num">1</span></code> <a href="#CONDITION" class="anchor">#</a></td>
		</tr>
		<tr data-order="VALIDATOR" id="VALIDATOR">
			<td align="right" width="1%"><code><b>VALIDATOR</b></code></td>
			<td><code><span class="php-num">2</span></code> <a href="#VALIDATOR" class="anchor">#</a></td>
		</tr>
		<tr data-order="FILTER" id="FILTER">
			<td align="right" width="1%"><code><b>FILTER</b></code></td>
			<td><code><span class="php-num">3</span></code> <a href="#FILTER" class="anchor">#</a></td>
		</tr>
		</table>
	</div>



	<div id="propertySummary">
		<table class="summary">
		<caption>Property Summary</caption>
		<tr data-order="control" id="$control">
			<td align="right" width="1%"><code class="nowrap">
				 
				<a href="Nette.Forms.IFormControl.html">IFormControl</a>
			</code></td>

			<td width="1%"><var>$control</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$control" class="anchor">#</a></td>
		</tr>
		<tr data-order="operation" id="$operation">
			<td align="right" width="1%"><code class="nowrap">
				 
				mixed
			</code></td>

			<td width="1%"><var>$operation</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$operation" class="anchor">#</a></td>
		</tr>
		<tr data-order="arg" id="$arg">
			<td align="right" width="1%"><code class="nowrap">
				 
				mixed
			</code></td>

			<td width="1%"><var>$arg</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td> <a href="#$arg" class="anchor">#</a></td>
		</tr>
		<tr data-order="type" id="$type">
			<td align="right" width="1%"><code class="nowrap">
				 
				int
			</code></td>

			<td width="1%"><var>$type</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td>(CONDITION, VALIDATOR, FILTER) <a href="#$type" class="anchor">#</a></td>
		</tr>
		<tr data-order="isNegative" id="$isNegative">
			<td align="right" width="1%"><code class="nowrap">
				 
				bool
			</code></td>

			<td width="1%"><var>$isNegative</var></td>
			<td><pre><span class="php-keyword1">false</span></pre></td>
			<td> <a href="#$isNegative" class="anchor">#</a></td>
		</tr>
		<tr data-order="message" id="$message">
			<td align="right" width="1%"><code class="nowrap">
				 
				string
			</code></td>

			<td width="1%"><var>$message</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td>(only for VALIDATOR type) <a href="#$message" class="anchor">#</a></td>
		</tr>
		<tr data-order="subRules" id="$subRules">
			<td align="right" width="1%"><code class="nowrap">
				 
				<a href="Nette.Forms.Rules.html">Rules</a>
			</code></td>

			<td width="1%"><var>$subRules</var></td>
			<td><pre><span class="php-keyword1">NULL</span></pre></td>
			<td>(only for CONDITION type) <a href="#$subRules" class="anchor">#</a></td>
		</tr>

		</table>
	</div>


</div>

	<div id="footer">
		Nette Framework API documentation generated by <a href="http://apigen.org">ApiGen</a>
	</div>
</div>
</body>
</html>
